package qqclient.service;

import java.util.HashMap;

/**
 * @author DCSGO
 * @version 1.0
 * 管理客户端连接服务端的线程
 */
public class ManageClientConnectServerThread {
    public static HashMap<String, ClientConnectServerThread> hm = new HashMap<>();

    public static void add(String id, ClientConnectServerThread thread) {
        hm.put(id, thread);
    }

    public static ClientConnectServerThread get(String id) {
        return hm.get(id);
    }
}
